<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>考生的战场</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <style>
        .d{
            display: flex;
            align-content: center;
            justify-content: center;
        }
    </style>

</head>
<body>
<div class="container">
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <ul class="breadcrumb">
                    <li class="active">
                        考前测试
                    </li>
                    <li class="active">
                        报名考试
                    </li>
                    <li class="active">
                        我的考试
                    </li>
                    <li class="active">
                        错题本
                    </li>
                    <li class="active">
                        排行榜
                    </li>
                    <li class="active">
                        注销
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="row clearfix">
        <div class="col-md-12 column">
            <table class="table table-hover table-striped">
                <thead>
                <tr>
                    <th>题号</th>
                    <th>题目内容</th>
                    <th>选项A</th>
                    <th>选项B</th>
                    <th>选项C</th>
                    <th>你的答案</th>
                </tr>
                </thead>

                <tbody>
                <form action="${pageContext.request.contextPath}/paper/end" method="post">
                    <c:forEach var="paper" items="${requestScope.get('list')}">
                        <tr>
                            <td>${paper.getQNUM()}</td>
                            <td>${paper.getQ_CONTENT()}</td>
                            <td>${paper.getANS_A()}</td>
                            <td>${paper.getANS_B()}</td>
                            <td>${paper.getANS_C()}</td>
                            <td>
                                <select name="select_ans">
                                    <option value="没有作答">请选择ABC</option>
                                    <option value="A">A</option>
                                    <option value="B">B</option>
                                    <option value="C">C</option>
                                </select>
                            </td>

                        </tr>
                    </c:forEach>
                    <div class="d">
                        <input type="submit" value="提交" style="width: 200px;height: 40px;" >
                    </div>

                </form>
                </tbody>
            </table>
        </div>
    </div>

</div>
</body>
</html>